/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: liangyuanzhang
 * Date: 2024-12-17
 * Time: 13:09
 */

/*
代码块
先静态 再实例 后构造
 */
public class Test {
    static int cnt = 6;
    static {
        cnt += 9;
    }
    public static void main(String[] args){
        System.out.println("cnt = "+ cnt);
    }
    static {
        cnt /= 3;
    }
}
